﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CanDoo.Oil.Core.DTOs
{
    /// <summary>
    /// 1.1.10会员取油成功状态上报 : 会员取油成功后，将取油情况上报后台
    /// </summary>
    public class OilTankStatus
    {
        /// <summary>
        /// 门店编号 改为string
        /// </summary>
        [Required]
        public string storeNo { get; set; }
        /// <summary>
        /// 终端编号 改为string
        /// </summary>
        [Required]
        public string terminalNo { get; set; }
        /// <summary>
        /// 油口
        /// </summary>
        [Required]
        public int oilPort { get; set; }
        /// <summary>
        /// 操作类型 分为0，1，2
        /// </summary>
        public int type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Required]
        public int millilitre { get; set; }
        /// <summary>
        /// 金额
        /// </summary>
        [Required]
        public int amount { get; set; }

        /// <summary>
        /// 单价
        /// </summary>
        [Required]
        public int price { get; set; }
        /// <summary>
        /// 改为string
        /// </summary>
        public string cardNo { get; set; }
        /// <summary>
        /// 油品id 改为string
        /// </summary>
        [Required]
        public string oilId { get; set; }
        /// <summary>
        /// 取油时间
        /// </summary>
        [Required]
        public DateTime takeOilTime { get; set; }
        [Required]
        public DateTime createTime { get; set; }

        /// <summary>
        /// 银行支付流水号
        /// </summary>
        public string voucherNo { get; set; }
    }

}
